Skip to content

Comments

feat: adds go-bob-firewall#7

Open
fnerdman wants to merge 1 commit intomasterfrom
go-bob-firewall
Open

feat: adds go-bob-firewall#7
fnerdman wants to merge 1 commit intomasterfrom
go-bob-firewall

Conversation

@fnerdman
Copy link
Contributor

@fnerdman fnerdman commented Nov 5, 2024

No description provided.

start() {
echo -n "Starting $DESC: "
echo "Starting $DESC" > /var/volatile/system-api.fifo
start-stop-daemon -S --make-pidfile -p $PIDFILE -m -b -a $DAEMON -- $DAEMON_ARGS > $LOGFILE 2>&1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the logging here will be suppressed because it is running in the background.
We had this issue with other services and this was the fix

Suggested change
start-stop-daemon -S --make-pidfile -p $PIDFILE -m -b -a $DAEMON -- $DAEMON_ARGS > $LOGFILE 2>&1
start-stop-daemon -S --make-pidfile -p $PIDFILE -m -b --exec /bin/sh -- -c "exec $DAEMON >> $LOGFILE 2>&1"

Copy link
Member

@MoeMahhouk MoeMahhouk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants